//
//  ZFActivityView+alert.h
//  components
//
//  Created by fyzq on 2021/7/13.
//

#import "ZFActivityView.h"
typedef void (^ContentBlock)(ZFBackGroundView * _Nonnull contentView);
typedef void(^ConfigActivityBlock)(ZFActivityView * _Nullable activityView);
typedef void (^ContentCallBackBlock)(ZFBackGroundView * _Nonnull contentView,ZFActivityView * _Nullable activityView);

NS_ASSUME_NONNULL_BEGIN

@interface ZFActivityView (alert)
///创建一个view
+(ZFActivityView *)activityView:(ContentBlock)block inView:(UIView *)view;
///创建一个活动view activityView可以自定义添加view config->配置
+(ZFActivityView *)activityView:(ContentBlock)block config:(ConfigActivityBlock)config inView:(UIView *)view;
///创建一个活动view activityView可以自定义添加view config->配置
+(ZFActivityView *)activityCallView:(ContentCallBackBlock)block config:(ConfigActivityBlock)config inView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
